package net.maku.system.erp.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;
import net.maku.framework.common.utils.DateUtils;
import net.maku.framework.common.utils.TreeNode;

import java.util.Date;

/**
 * 机构列表
 *
 * @author 阿沐 babamu@126.com
 * <a href="https://maku.net">MAKU</a>
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "仓库")
public class SysWarehouseVO extends TreeNode<SysWarehouseVO> {

    @Schema(description = "仓库名称", required = true)
    @NotBlank(message = "仓库名称不能为空")
    private String name;

    @Schema(description = "仓库地址", required = true)
    @NotBlank(message = "仓库地址不能为空")
    private String address;

    @Schema(description = "仓库代码", required = true)
    @NotBlank(message = "仓库代码不能为空")
    private String warehouseCode;

    @Schema(description = "链接")
    private String links;

    @Schema(description = "备注")
    private String comment;


}